package com.fantasy.stringBuffer;

import java.util.ArrayList;

/**
 * @author  Fantasy
 * @E-mail: vi2014@qq.com
 * */
public class TestStringBuffer {

	public static void main(String[] args) {
		StringBuffer buffer=new StringBuffer("ssssss1223");
		buffer.append("sss");
		System.out.println(buffer);
		test1();
	}
	
	public static void test1(){
		StringBuffer buffer=new StringBuffer("dddddd");
		ArrayList<StringBuffer> list=new ArrayList<StringBuffer>();
		list.add(buffer);
		buffer=new StringBuffer("ywqgdqgquu");
		System.out.println(list.get(0)+"==============>"+buffer);
	}
}
